package day1219;

import day1226.MyMath;

import java.util.Scanner;

public class Test1 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        //1.
        double money=sc.nextDouble();
        //2.
        System.out.println("请输入颜值等级： 1---5之间的整数(5表示颜值最高)");
        int faceWell=sc.nextInt();
        if(faceWell<1 || faceWell>5){
            System.out.println("您输入的信息有误");
            System.exit(0);
        }
        String rs=money >280000 ||  faceWell>=3  ?  "牵手成功" :  "很遗憾，有缘再见";
        System.out.println(rs);

        System.out.println(money >280000 ||  faceWell>=3  ?  "牵手成功" :  "很遗憾，有缘再见");
    }
}
